﻿

using System;
using Topshelf;

namespace ZLWeb.WebApiSelfHostService
{
    class Program
    {


       


        public static void Main()
        {

            HostFactory.Run(x =>
            {
                x.Service<SelfHostWebApiService>();
                x.RunAsLocalSystem();

                x.SetDescription("商周内网SOA服务");
                x.SetDisplayName("商周内网SOA服务");
                x.SetServiceName("ZonglianSelfHostWebapi");
            });
               }
        
    }
}